package com.yenlien.traceyun.breed.entity;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by LiuSha on 2020/9/25.
 */
@Entity
@Table(name = "t_breed_quarantine")
@ApiModel(value = "检疫管理")
@Trace(appName = "breed", stepName = "quarantine", parentStepName = "breed", order = 1)
public class Quarantine extends TraceScanEntity {
    @Column
    @ApiModelProperty(value = "养殖Id")
    private String breedId;
    @Column
    @ApiModelProperty(value = "养殖批次号")
    private String breedBatch;
    @Column
    @ApiModelProperty(value = "检疫机构")
    private String mechanism;
    @Column
    @ApiModelProperty(value = "检疫负责人")
    private String name;
    @Column
    @ApiModelProperty(value = "检疫依据")
    private String basis;
    @Column
    @ApiModelProperty(value = "检疫日期")
    private String time;
    @Column
    @ApiModelProperty(value = "检疫批次")
    private String batch;
    @Column
    @ApiModelProperty(value = "检疫报告")
    private String reportImg;
    @Column
    @ApiModelProperty(value = "检疫结果")
    private String result;
    @Transient
    @ApiModelProperty(value = "查询条件")
    private String query;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getBreedId() {
        return breedId;
    }

    public void setBreedId(String breedId) {
        this.breedId = breedId;
    }

    public String getMechanism() {
        return mechanism;
    }

    public void setMechanism(String mechanism) {
        this.mechanism = mechanism;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBasis() {
        return basis;
    }

    public void setBasis(String basis) {
        this.basis = basis;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getReportImg() {
        return reportImg;
    }

    public void setReportImg(String reportImg) {
        this.reportImg = reportImg;
    }

    public String getBreedBatch() {
        return breedBatch;
    }

    public void setBreedBatch(String breedBatch) {
        this.breedBatch = breedBatch;
    }
}
